package projectATM2;



public class ATMFunctions2 {
	private int balance = 5000;
	public ATMFunctions2(){
	
	}
	
	public void addFunds(int amount){
		balance += amount;
		ATMGui2.updateDisplay(balance);
	}
	
	public void withdrawFunds(int amount){
		balance -= amount;
		ATMGui2.updateDisplay(balance);
	}

	public void printBalance() {
		ATMGui2.updateDisplay(balance);
	}
}
